package com.lancoo.znbkxx.teacher.aibkTestCoach.networkRequest.remote

import com.lancoo.znbkxx.teacher.aibkTestCoach.networkRequest.entity.StuStudyAnalysisInfo
import com.lancoo.znbkxx.teacher.aibkTestCoach.networkRequest.entity.StudyAnalysisInfo
import io.reactivex.Single
import retrofit2.http.GET
import retrofit2.http.Headers
import retrofit2.http.QueryMap

/**
 * Created by Dadong on 2021/1/26
 * Describe:
 */
interface StudyAnalysisService {

    /**
     * 是否开启班级学情分析 接口
     */
    @Headers("urlName:rzzd")
    @GET("api/RZZD/IsOpenClassLearingAnalysis_App")
    fun isOpenClassLearningAnalysisApp(@QueryMap params: MutableMap<String, Any>):
            Single<BaseData<Boolean>>

    /**
     * 获取班级学情分析报告（班级学情总览 + 班级学生试卷作答荣誉榜 + 班级各题型得分总览 + 班级试卷作答表现） 接口
     */
    @Headers("urlName:rzzd")
    @GET("api/RZZD/GetClassLearingAnalysis")
    fun getClassLearningAnalysis(@QueryMap params: MutableMap<String, Any>):
            Single<BaseData<StudyAnalysisInfo>>

    /**
     * 获取学生个人学情总览
     */
    @Headers("urlName:rzzd")
    @GET("api/RZZD/GetStuLearnAnalysisApp")
    fun getStuLearnAnalysisApp(@QueryMap params: MutableMap<String, Any>):
            Single<BaseData<StuStudyAnalysisInfo>>

}